/**
 * @project_name staff_vehicle
 * @package_name com.ssh.ser.admin
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-25
 * @time 下午5:53:25
 */
package com.ssh.ser.admin;

import java.util.List;

import com.ssh.entity.Position;
import com.ssh.entity.Staff;
import com.ssh.model.pdata.InnerDiverMPData;
import com.ssh.model.pdata.StaffMPData;

/**
 * @author jack
 *
 */
public interface StaffManageSerI {
	public Staff addStaff(Staff staff);
	public int deleteStaff(String staffId);
	public List<Staff> viewStaff(String param);
	public List<Staff> viewStaff(String sex,String dep);
	public Staff viewById(String staffId);
	public Staff editStaff(Staff staff);

	public List<StaffMPData> viewStaffMPDataSex(String sex);
	public List<StaffMPData> viewAllStaffMPData();
	public List<StaffMPData> viewStaffMPDataDep(String dep);
	public List<StaffMPData> viewStaffMpData(String sex,String dep);
	/**
	 * @param staffId
	 * @return
	 */
	StaffMPData viewStaffMPDataById(String staffId);
    /**
     * param String depName  部门名称
	 *desc 返回部门职位*/
	public Position getPosByName(String depName);

	   /**
     * param String
	 *desc 返回内部驾驶员信息*/
	public List<InnerDiverMPData> getAllInnerDriver();
	   /**
     * param String
	 *desc 返回内部驾驶员信息*/
	public InnerDiverMPData getInnerDriverById(String staffId);
	/**
	 * @return
	 */
	public List<InnerDiverMPData> getInnerDriverByState(String state);
}
